package com.bowos.zmado.model;

import com.orifine.orm.annotation.Column;
import com.orifine.orm.annotation.NotNull;
import com.orifine.orm.annotation.Table;
import com.orifine.orm.annotation.Unique;

/**
 * 版块版主
 * @author Administrator
 *
 */
@Table
public class ForumModerator {
	/**
	 * 版块
	 */
	@Column
	@NotNull
	@Unique("userFourm")
	private Forum forum;
	
	/**
	 * 用户
	 */
	@Column
	@NotNull
	@Unique("userFourm")
	private User user;

	public Forum getForum() {
		return forum;
	}

	public void setForum(Forum forum) {
		this.forum = forum;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
